-
Notifications
You must be signed in to change notification settings - Fork 43
Add PR comment updating to link checker workflow #2054
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
+27
−70
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This adds functionality to automatically comment on PRs with link checker results when the Mintlify deployment completes. The comment will be updated on subsequent runs and clearly indicates whether all links are valid or if issues were found.
- Fix JavaScript syntax error when exit_code is empty - Handle both pull_request and deployment_status events properly - Use safe string interpolation for exit code - Fallback to docs.wandb.ai when no deployment URL available
ngrayluna
reviewed
Jan 16, 2026
Change push trigger to only run on main branch. This prevents duplicate workflow runs when pushing to PR branches (which triggers both push and pull_request events). Now: - PRs: validated via pull_request trigger - Main branch: validated via push trigger - Manual: workflow_dispatch still available
ngrayluna
reviewed
Jan 16, 2026
mdlinville
commented
Jan 16, 2026
…o linkcheck_update_pr_comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Recent updates added PR commenting to the link checker, but the initial comment would not be updated by subsequent runs. This fixes that.
Testing
mint dev)mint broken-links)